<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>POS | Caffe & Resto</title>
    
    <link href="<?php echo base_url(); ?>content/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo base_url(); ?>content/css/datepicker.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo base_url(); ?>content/css/web-template.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<?php echo base_url(); ?>content/js/jQuery.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>content/js/bootstrap.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>content/js/bootstrap-datepicker.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>content/js/string-month.js"></script>
    <?php setlocale(LC_TIME,NULL); ?>
</head>

<body>
	<!-- Navbar -->
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <span class="brand">
			&nbsp;
			Point Of Sale - Restaurant Management System
		</span>	
        <ul class="nav pull-right" style="padding-top:10px">
            <li>Selamat datang, <span class="icon-user"></span>&nbsp; <?php echo $this->session->userdata('nama');?></li>
            <li>&nbsp; | &nbsp;</li>
            <li id="logout"><a href="<?php echo site_url()?>/home/logout"><span class="icon-road"></span>&nbsp;Log out</a></li>
        </ul> 
      </div>
    </div>
     
    <div class="row" style="padding-top:5%">
        <div class="span3 bs-docs-sidebar" >
            <!-- Menu --> 
            
                <ul class="nav nav-list bs-docs-sidenav">
                  <?php
					foreach($master_menu->result() as $row)
				{
					echo '<li>'.anchor($row->url,$row->title).'</li>';
					
					echo '<ul class="nav nav-list">';
					foreach($level_menu->result() as $subrow)
					
				{
					if($row->id == $subrow->parent_id){
					
					echo '<li>'.anchor($subrow->url,$subrow->title).'</li>';
					}
				}
					echo '</ul>';
			}
					?>
                </ul>
        </div>
        <div class="span12">